﻿<%@ Page Title="" Language="C#" MasterPageFile="~/WebServisArayuz.Master" AutoEventWireup="true"
    CodeBehind="YFKullaniciIslemleri.aspx.cs" Inherits="TakbisBilgiSorgu_v1.WebForm18" EnableEventValidation = "false"%>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="js/MyScript/KullaniciIslemleri.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <form id="form1" runat="server">
        <div class="icorta DivTasinmazIslemleriBloklar">
             <asp:GridView ID="gvKullanici" CssClass="grids" runat="server" AllowPaging="True"
                        AutoGenerateColumns="False" CellPadding="3" OnPageIndexChanging="gvKullanici_PageIndexChanging" OnSelectedIndexChanged="gvKullanici_SelectedIndexChanged"
                        DataKeyNames="ID" OnRowDataBound="gvKullanici_RowDataBound" OnRowCreated="gvKullanici_RowCreated">
                        <Columns>
                            <asp:CommandField HeaderText=" Seçim " ShowSelectButton="True" 
                                SelectText="Seç " Visible="False" />
                            <asp:BoundField DataField="Kodu" HeaderText="Kodu" />
                            <asp:BoundField DataField="Adi" HeaderText="Adı" />
                            <asp:BoundField DataField="Soyadi" HeaderText="Soyadı" />
                            <asp:BoundField DataField="GrupAdi" HeaderText="Grup Adı" />
                            <asp:BoundField DataField="AktifMiAciklama" HeaderText="Aktif Mi" />
                        </Columns>
                        <FooterStyle CssClass="gridsFooter"/>
                        <HeaderStyle  CssClass="gridsHeader"/>
                        <PagerStyle CssClass="gridsPager"/>
                        <RowStyle CssClass="gridsTextColor" />
                        <SelectedRowStyle CssClass="selectedRows"/>
                        <SortedAscendingCellStyle BackColor="#F1F1F1" />
                        <SortedAscendingHeaderStyle BackColor="#007DBB" />
                        <SortedDescendingCellStyle BackColor="#CAC9C9" />
                        <SortedDescendingHeaderStyle BackColor="#00547E" />
                    </asp:GridView><br />
        <div id="kulaniciDiv">
            <table id="kulaniciTable">
	            <tr>
		            <td><asp:Label ID="lblKodu" CssClass="lblText" runat="server" Text="Kodu"></asp:Label></td>
		            <td>:</td>
		            <td><asp:TextBox ID="txtKodu" class="textboxs" runat="server" TabIndex="1" Width="300px"></asp:TextBox></td>
	            </tr>
	            <tr>
		            <td><asp:Label ID="lblAdi" CssClass="lblText" runat="server" Text="Adı"></asp:Label></td>
		            <td>:</td>
		            <td><asp:TextBox ID="txtAdi" class="textboxs" runat="server" Width="300px" TabIndex="2"></asp:TextBox></td>
	            </tr>
	            <tr>
		            <td><asp:Label ID="lblSoyadi" CssClass="lblText" runat="server" Text="Soyadı"></asp:Label></td>
		            <td>:</td>
		            <td><asp:TextBox ID="txtSoyadi" class="textboxs" runat="server" Width="300px" TabIndex="3"></asp:TextBox></td>
	            </tr>
	            <tr>
		            <td><asp:Label ID="lblAktifMi" CssClass="lblText" runat="server" Text="Aktif Mi"></asp:Label></td>
		            <td>:</td>
		            <td><asp:DropDownList ID="ddlAktifMi" class="textboxs" runat="server" Width="305px" TabIndex="4">
                                    <asp:ListItem Value="0">Lütfen seçiniz.</asp:ListItem>
                                    <asp:ListItem Value="1">Aktif</asp:ListItem>
                                    <asp:ListItem Value="2">Pasif</asp:ListItem>
                                </asp:DropDownList></td>
	            </tr>
	            <tr>
		            <td><asp:Label ID="lblGrup" CssClass="lblText" runat="server" Text="Grup"></asp:Label></td>
		            <td>:</td>
		            <td><asp:DropDownList ID="ddlGrup" class="textboxs" runat="server" Width="305px" TabIndex="5"></asp:DropDownList></td>
	            </tr>
            </table>
        </div>
            <asp:Button ID="btnEkle" class="butons ekleico" runat="server" OnClick="btnEkle_Click" TabIndex="6" Text="Ekle"/>
            <asp:Button ID="btnGuncelle" class="butons guncelleico" runat="server" OnClick="btnGuncelle_Click" Text="Güncelle" TabIndex="7"/>
            <asp:Button ID="btnKaydet" class="butons kaydetico" runat="server" onClientClick="return validateData();" OnClick="btnKaydet_Click" Text="Kaydet" TabIndex="8"/>
</div>                    
</form>
</asp:Content>
<asp:Content ID="Content3" runat="server" ContentPlaceHolderID="ContentPlaceHolder2">
    <div class="sayfa_adi">
        Yönetim Paneli / Kullanıcı İşlemleri</div>
    </asp:Content>
